package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务预约信息对象 reservation
 * 
 * @author ruoyi
 * @date 2025-02-18
 */
public class Reservation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 服务ID */
    @Excel(name = "服务ID")
    private Long supplyId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 宠物品种 */
    @Excel(name = "宠物品种")
    private String petName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNumber;

    /** 预约时间 */
    @Excel(name = "预约时间")
    private Long appointmentTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSupplyId(Long supplyId) 
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId() 
    {
        return supplyId;
    }

    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }

    public void setPetName(String petName) 
    {
        this.petName = petName;
    }

    public String getPetName() 
    {
        return petName;
    }

    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }

    public void setAppointmentTime(Long appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Long getAppointmentTime() 
    {
        return appointmentTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplyId", getSupplyId())
            .append("customerName", getCustomerName())
            .append("petName", getPetName())
            .append("contactNumber", getContactNumber())
            .append("appointmentTime", getAppointmentTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
